package com.my.user.service;

import com.my.entity.User;
import com.my.user.dao.impl.UserDaoImpl;

import java.util.ArrayList;
import java.util.List;

public interface IUserService {
    public boolean addUser(User user);

    public boolean deleteUser(User user);

    public boolean updatePwd(User user,String pwd);

    public List<User> queryAllUsers();

    public User queryOneUser(String name);

    public int getTotalCount();

    public List<User> queryUserByPage(int currentPage,int pageSize);
}
